Comparing web.configs, enableSessionState="true" vs "false"
I've been having some issues with an external WFE. Built "NewServer", installed MOSS, edited the site's web.config to be similar to "OldServer"'s version (membership provider string pointing to our ISA login server).
Site is up and running, but I'm getting some errors. Compared web.configs from the two servers and found that
OldServer web.config: <pages enableSessionState="true" ...> NewServer web.config <pages enableSessionState="false" ...>
Can anyone tell me what difference that might make? Is there something in CA that determines this setting, or is changed through stsadm or only in the web.config itself?
Much thanks!
Scott
August 8th, 2012 3:17pm
If you are getting any error related with sessionstate or if using session variables you need to change the value to True.
Bydefault 'enableSessionState' is not enabled and you need enable it manually by changing in web.config file. (Do not forget to take a copy of web.config before making any change in it.)
Thanks.
Free Windows Admin Tool Kit Click here and download it now
August 11th, 2012 3:39am
If you are getting any error related with sessionstate or if using session variables you need to change the value to True.
Bydefault 'enableSessionState' is not enabled and you need enable it manually by changing in web.config file. (Do not forget to take a copy of web.config before making any change in it.)
Thanks.
August 11th, 2012 3:59am
I appreciate the reply, Manhar, but I'm trying to get a better idea of what this does and what in the UI might have changed its setting?
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2012 11:00am
All you ever wanted to know about session:
http://msdn.microsoft.com/en-us/library/ms178581.aspx
In regards to what changed it from the UI, refer to this:
http://technet.microsoft.com/en-us/library/cc263527(v=office.12).aspx
Enable or disable session state across the entire farm
On the taskbar, click Start, point to Administrative Tools, and then click
SharePoint 3.0 Central Administration.
In the top navigation bar, click the Application Management tab.
On the Application Management page, in the Office SharePoint Servers Shared Services section, click
Configure session state.
On the Configure Session State page, in the Enable Session State section, select the
Enable Session State check box to enable session state for the farm.
To specify the duration of sessions, in the Timeout section, enter a number (in minutes) in the
Session should be timed out after (minutes) box. The default is 60 minutes.
Click OK to save the session state configuration.
August 19th, 2012 12:43pm